#pragma once
#define MAXSIZE 10

typedef struct customer
{
	char fullname[35];
	double payment;
}Item;


class Stack
{
public:
	Stack();
	bool isFull()const;
	bool isEmpty()const;
	bool push(const Item& item);
	bool pop(Item* item);
	void show()const;
	int getTotal()const;

private:
	Item arr[MAXSIZE];
	int top;
	int bottom;
	int total;
};

